package org.example.spomgboot;

import org.example.spomgboot.service.LoginService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SpomgBootApplication {
	public static void main(String[] args) {
		ConfigurableApplicationContext context = SpringApplication.run(SpomgBootApplication.class, args);
		LoginService loginService = context.getBean(LoginService.class);
loginService.login("0","l");
		//SpringApplication.run(SpomgBootApplication.class, args);
	}
}




